Remove a check that broke the color chooser a11y dump
authorMatthias Clasen <mclasen@redhat.com>
Tue, 17 Jan 2012 02:05:01 +0000 (21:05 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 17 Jan 2012 02:05:01 +0000 (21:05 -0500)
With the visible check, the opacity slider ended up without
a labeled-by, which is sad.

gtk/a11y/gtkwidgetaccessible.c

index 3f2d142e33a5e996ad9be74776ae5bf107c33af9..918fbb95b76aea6e503573c5a89877ce51bd05c0 100644 (file)
@@ -204,7 +204,7 @@ find_label (GtkWidget *widget)
   ptr = labels;
   while (ptr)
     {
-      if (ptr->data && gtk_widget_get_visible (GTK_WIDGET (ptr->data)))
+      if (ptr->data)
         {
           label = ptr->data;
           break;